//
//  TestCollectionViewCell.m
//  PageTitleContent
//
//  Created by 好米有易 on 2017/9/14.
//  Copyright © 2017年 好米有易. All rights reserved.
//

#import "TestCollectionViewCell.h"

@implementation TestCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        
        [self.contentView addSubview:self.mainView];
    }
    return self;
}


- (UIView *)mainView {
    if (_mainView == nil) {
        
        _mainView = [[UIView alloc] initWithFrame:self.bounds];
        
    }
    return _mainView;
}

@end
